list_cities = ["呼和浩特市", "包头市", "鄂尔多斯市"]
# pop(): 按位置删除，并返回被删除的元素
removed_city = list_cities.pop(1)
print(f"pop(1) 后：{list_cities} # 删除了{removed_city}")
# remove(): 按值删除
list_cities = ["呼和浩特市", "包头市", "鄂尔多斯市", "包头市"]
list_cities.remove("包头市")
print(f"remove('包头市') 后：{list_cities}")
# clear(): 清空所有元素
list_cities = ["呼和浩特市", "包头市", "鄂尔多斯市"]
list_cities.clear()
print(f"clear() 后：{list_cities}")
